package org.itboys.trade.service;

import javax.annotation.Resource;

import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.itboys.trade.entity.Refund;
import org.springframework.stereotype.Service;

@Service
public class RefundService extends BaseService<Refund, Long>{
	
	@Resource(name = "orderDS")
	private MongoDataSource ds;

	@Override
	protected MongoDataSource getMongoDataSource() {
		return ds;
	}

	@Override
	protected Class<Refund> getEntityClass() {
		return Refund.class;
	}
}
